package com.example.mapper.two;

import com.example.pojo.Link;
import com.example.pojo.Node;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface Neo4j {
    List<Node> getNodeData(@Param("majorId")Integer majorId);
    List<Link> getLinkData(@Param("majorId")Integer majorId);
    Integer addNode(@Param("nodeName")String nodeName,@Param("symbolSize")Integer symbolSize,@Param("majorId")Integer majorId,@Param("category")Integer category);
    Integer addLink(@Param("sourceNode")String sourceNode,@Param("targetName")String targetName);
}
